<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.daz.student.summary.server.impl.SummarySV" %>
<%@ page import="com.daz.student.summary.pojo.SummaryPojo" %>


<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>查看总结</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style>
	
	</style>
	<%
	String summaryId = request.getParameter("summaryId").toString();
	String title = "";
	String createDate = "";
	String remark = "";
	String contentText = "";
	
	SummarySV sv = new SummarySV();
	Map map = new HashMap();
	map.put("summaryId", summaryId);
	SummaryPojo list = sv.searchSummaryById(map);
	if(list != null){
		title = list.getTitle();
		createDate = list.getCreateDate().toString();
		remark = list.getRemark();
		contentText = list.getContentText();
	}
	
	/* String title = request.getParameter("title").toString();
	String createDate = request.getParameter("createDate").toString();
	createDate.replace("T", " ");createDate.replace("T", " ");
	String remark = request.getParameter("remark").toString();
	String contentText = request.getParameter("contentText").toString();
	String studentId = request.getParameter("studentId").toString();  */
	
	%>
  </head>
  
  <body >
  <center>
  
    <h3><%=title %></h3>
  <span style="font-size:12px;"> 创建时间：<%= createDate%></span>
  <hr style="width:90%;">
  
    </center>
    <div style="margin:auto;width:90%;"><%= contentText%></div>
  </body>
</html>
